/*
 * Created on 2005-10-8
 *
 */
package com.hd123.rumba.runtime;

import com.hd123.rumba.domain.IDomain;
import com.hd123.rumba.exception.BusinessException;

/**
 * @author caili
 */
public interface IBaseEntity extends IVersionedPersistent {

  /** @deprecated */
  public static final String CAPTION_DOMAIN = CBaseEntity.CAPTION_DOMAIN;
  
  public IDomain getDomain() throws BusinessException;

  public void setDomain(IDomain domain) throws BusinessException;

  /** @deprecated */
  public static final String CAPTION_LASTMODIFIER = CBaseEntity.CAPTION_LASTMODIFIER;
  
  public String getLastModifier() throws BusinessException;

  public void setLastModifier(String lastModifier) throws BusinessException;
  
  /** @deprecated */
  public static final String CAPTION_STATE = CBaseEntity.CAPTION_STATE;

  public Integer getState() throws BusinessException;

  public void setState(Integer state) throws BusinessException;

  public void assign(IBaseEntity obj)  throws BusinessException;

}
